import React, { Component } from "react";

class Table extends Component {
  render() {
    return (
      <table
        border="1"
        style={{
          width: "100%",
          height: "100%",
          display: "flex",
          flexDirection: "column",
        }}
        className="table-component"
      >
        <tbody>{this.props.children}</tbody>
      </table>
    );
  }
}

export default Table;
